const crypto = require('crypto');
const nanoid = require('nanoid');

console.log( nanoid );
let id = nanoid.nanoid() ;
console.log( id );
console.log( id.length );

let rand = crypto.randomUUID() ;
console.log( rand );
console.log( rand.length );

